<div>
	<div id="data_page" class="in_page">
		<div class="panel panel-default">
			<div class="btn-group" role="group" aria-label="...">
				<a href="javascript:;" onClick="javascript :history.back(-1);">
					<button type="button" class="btn btn-sm btn-primary ">点击返回</button>
				</a>
			</div>
		</div>
	</div>
  <table class="table table-bordered" style="text-align:center">
	<thead>
	  <tr>
		<th><span class="glyphicon glyphicon-leaf"></span>ID</th>
		<th><span class="glyphicon glyphicon-leaf"></span>姓名</th>
		<th><span class="glyphicon glyphicon-leaf"></span>手机号</th>
		<th><span class="glyphicon glyphicon-leaf"></span>性别</th>
		<th><span class="glyphicon glyphicon-leaf"></span>小区</th>
		<th><span class="glyphicon glyphicon-leaf"></span>房间号</th>
		<th><span class="glyphicon glyphicon-leaf"></span>用户性质</th>
		<th><span class="glyphicon glyphicon-leaf"></span>操作</th>
	  </tr>     
	</thead>
	<tbody>
	 <volist name="list" id="data">
	  <tr>
		<td>{$data['id']}</td>
		<td>{$data['name']}</td>
		<td>{$data['phone']}</td>
		<td><if condition="$data['sex'] eq '1'">男</if><if condition="$data['sex'] eq '2'">女</if></td>
		<td>{$data['plot']}</td>
		<td>{$data['num']}</td>
		<td><if condition="$data['status_customer'] eq '1'">普通用户</if><if condition="$data['status_customer'] eq '2'">优质用户</if></td>
		<td>
		   <div class="btn-group" role="group" aria-label="...">
			  <a href="{:U('Message/messagelog',array('from_uid'=>$from_uid,'to_uid'=>$data['id'],'openid'=>$openid))}"><button type="button" class="btn btn-primary btn-xs">点击查看聊天记录</button></a>
		   </div>
	   </td>
	  </tr>
	</volist>
	</tbody>
  </table> 
</div>